CREATE TABLE [dbo].[tb_AgentesConEstimulo160]
(
[idEstimulo] [int] NOT NULL IDENTITY(1, 1),
[Agente] [int] NOT NULL,
[Monto] [decimal] (18, 4) NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_AgentesConEstimulo160] ADD CONSTRAINT [PK_tb_AgentesConEstimulo160] PRIMARY KEY CLUSTERED  ([idEstimulo]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_AgentesConEstimulo160] WITH NOCHECK ADD CONSTRAINT [FK_tb_AgentesConEstimulo160_tb_Agentes] FOREIGN KEY ([Agente]) REFERENCES [dbo].[tb_Agentes] ([idAgente]) ON DELETE CASCADE ON UPDATE CASCADE
GO
